package com.qcxk.yuqian.system.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qcxk.yuqian.system.entity.User;

import java.util.List;

public interface UserService extends IService<User> {

    Page queryUserPage(Page page, QueryWrapper<User> userQueryWrapper);

    boolean updateUser(User user);

    boolean deleteUserById(User user);

    Page queryUserForAdminPage(Page page, User item);

    /**
     * 物料申请人列表
     *
     * @return
     */
    List<User> queryUserForMaterialRequisition();

}
